package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingPlanVo> queryAll();

    void add(NursingLevel bean);

    Page<NursingLevel> listByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    NursingLevel queryById(Long id);

    void update(NursingLevel nursingLevel);

    void delete(Long id);

    void statusChange(Long id, Integer status);
}
